#python
import pytesseract

from PIL import Image

def get_text(url: str):
    img = Image.open(url)
    ocr_str = pytesseract.image_to_string(img, lang='chi_sim', config='--psm 7')
    print(ocr_str)
    return ocr_str